package com.imagefake.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.imagefake.entity.SysUser;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * (SysUser)表数据库访问层
 *
 * @author makejava
 * @since 2024-03-05 20:06:19
 */
@Mapper
public interface SysUserMapper extends BaseMapper<SysUser> {

    /**
     * 根据用户名获取用户信息
     * @param username
     * @return SysUser Object
     */
    SysUser getByUserName(@Param("username") String username);

}

